package com.xuecheng.base.model;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;

/**
 * 分页查询分页参数
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParams {
    //当前页码
    @ApiModelProperty("页码")
    private Long pageNo = 1L;//mybatis分页参数类型为long
    //每页显示记录数
    @ApiModelProperty("每页记录数")
    private Long pageSize = 30L;
}
